<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="java.util.*"%>
<%@ page import="org.corolla.cloth.entity.Order"%>
<%@ page import="org.corolla.cloth.entity.ClothSize"%>
<%@ page import="org.corolla.cloth.utils.DataUtil"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>支 付</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" />
</head>
<body background="../images/bg/bg.jpg">
	<div class="TitleDiv">
		<font class="TitleCharFont">支付</font>

	</div>

	<div style="margin-left: 23%; margin-top: 8%;">
		<table width="500" border="0">

			<tr>
				<%
				    if (null != session.getAttribute("totalcountprice")) {
				%>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
				<td width="130">需支付金额：</td>
				<td width="105"><%=DataUtil.getFormatDecimal(Double.parseDouble(session.getAttribute("totalcountprice").toString()))%>
				</td>

				<%
				    } else {
				%>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
				<td width="130">需支付金额：</td>
				<td width="105">0</td>
				<%
				    }
				%>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
				<td></td>
				<td></td>
			</tr>
			<%
			    if (null != session.getAttribute("totalcountprice")) {
			%>
			<tr>
				<td align="right"><input name="" type="radio" value=""
					checked="checked" /></td>
				<td><img src="../images/pay.png" /></td>
				<td></td>
				<td></td>
			</tr>
			<%
			    }
			%>
			<tr>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
				<td></td>
				<td></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
				<td colspan="2" align="right"><form id="form1" name="form1"
						method="post" action="payAction">
						<label> <%
     if (null != session.getAttribute("totalcountprice")) {
 %> <input type="submit" name="Submit" value="确认支付"
							class="ResultButton" /> <%
     }
 %> <a href="../view/Welcome.jsp"
							style="cursor: hand; cursor: pointer;"><input type="button"
								name="Submit" value="返回首页" class="ResultButton" /></a>
						</label>
					</form></td>
			</tr>
		</table>
	</div>
</body>
</html>